import { ApiProperty } from '@nestjs/swagger'
import { IsNotEmpty } from 'class-validator'

export class UserInfoDto {
  @ApiProperty({ description: '', required: true, default: '' })
  @IsNotEmpty({ message: '用户ID必填' })
  readonly id: number
}